<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>简单商城 - 商品列表</title>
    <link rel="stylesheet" href="css/styles.css">
    <style>
        /* 用户信息样式 */
        header {
            position: relative;
        }
        #userInfo {
            position: absolute;
            right: 1rem;
            top: 50%;
            transform: translateY(-50%);
            display: flex;
            align-items: center;
            gap: 1rem;
        }
        #userInfo button {
            background: #e74c3c;
            color: white;
            border: none;
            padding: 0.5rem 1rem;
            border-radius: 4px;
            cursor: pointer;
            transition: background-color 0.3s;
        }
        #userInfo button:hover {
            background: #c0392b;
        }
    </style>
</head>
<body>
    <header>
        <h1>简单商城</h1>
    </header>
    
    <main>
        <div class="products-grid" id="productsContainer">
            <!-- 商品将通过JavaScript动态加载 -->
        </div>
    </main>

    <footer>
        <p>&copy; 2024 简单商城</p>
    </footer>

    <script src="js/auth.js"></script>
    <script src="js/products.js"></script>
</body>
</html>